package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Menu;
import java.util.List;

public interface MenuService {
    void add(Menu menu);

    void del(Integer[] ids);

    void update(Menu menu);

    List<Menu> findAll();

    PageResult findPage(QueryPageBean queryPageBean);

    List<Menu> getMenuList(String username);

    Menu findOne(Menu menu);
}
